﻿<?
include("../config/header.php");
?>
<script type='text/javascript'>
	document.title = '在线XXTEA网页加密 —— 在线工具';
</script>
<script type="text/javascript" src="../content/js/new.js"></script>
<div class="container">
	<form name="f">
	<div class="panel panel-primary">
		<div class="panel-heading"><h3 class="panel-title">XXTEA网页加密</h3></div>
	</div>
	<div class="form-group">
		<textarea id="plain_text" name="plain_text" onkeyup="" class="form-control" style="width:100%;height:300px;border:1px solid #c5e2f2;overflow:visible;" placeholder="要加密的内容放上面"></textarea>
	</div>
	<div class="form-group" align="center">
		密钥:<input type="text" name="n" id="n" value="0123456789">
		<input type="button" onclick="encrypt()" class="button button-rounded button-flat-primary" value="脚本加密"/>
		<input type="button" onclick="decrypt();" class="button button-rounded button-flat-action" value="脚本解密"	/>
		<input type="button" onclick="Emptyxxtea()" class="button button-rounded button-flat-highlight" value="清空内容"/>
	</div>
	</form>
</div>
<?php
include("../config/footer.php");
?>